<?php
/**
 * File defining the __autoload function used when a class cannot be found.
 * This file must be required prior to use any BRail_x component.
 */

/**
 * @param string $classname
 */
function __autoload($classname)
{
    require str_replace('_', DIRECTORY_SEPARATOR, $classname . '.php');
}